using System;
using System.Collections;
using UnityEngine;

public class DelayTransition : Transition
{
	public override string Name
	{
		get
		{
			return "Delay";
		}
	}

	public override IEnumerator CoTransitionIn(float duration)
	{
		if (duration > 0f)
		{
			yield return new WaitForSeconds(duration);
		}
		yield break;
	}

	public override IEnumerator CoTransitionOut(float duration)
	{
		if (duration > 0f)
		{
			yield return new WaitForSeconds(duration);
		}
		yield break;
	}
}
